package com.dreamwhale.accelerator.mapper;

import com.dreamwhale.accelerator.entity.AlUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author Author
 * @since 2020-08-07
 */
public interface AlUserMapper extends BaseMapper<AlUser> {

    /**
     * 会员等级 代理商等级
     * @param userId
     * @return
     */
    AlUser selectYxUserTime(@Param("userId") String userId);

    /**
     * 使用天数
     * @param userId
     * @return
     */
    AlUser selectUseTimes(@Param("userId") String userId);
}
